﻿namespace SharePhone.Common
{
    public class ContextSettings
    {
        /// <summary>
        /// If true, list items will be cached.
        /// </summary>
        public bool CacheItems;

        /// <summary>
        /// Maximum age of objects in minutes before they are refreshed from SharePoint
        /// </summary>
        public int CacheTimeout;

        public string SiteUrl { get; set; }
        public CredentialSettings Credentials { get; set; }
    }
}